package com.example.onlinemonitoring.model;

import com.example.onlinemonitoring.model.common.sensor;
import java.util.Date;
import javax.persistence.*;

public class Dljfhistory extends sensor {
    @Id
    private Long id;

    /**
     * 变电站编号
     */
    private Integer stationid;

    private Integer devicegroup;

    /**
     * 设备地址
     */
    private Integer deviceaddr;

    /**
     * 监测点地址
     */
    private Integer pointaddr;

    /**
     * 监测点的名称
     */
    private String pointname;

    /**
     * A相电流
     */
    private Float acurrent;

    /**
     * A相放电频次-
     */
    private Integer areq;

    /**
     * A1放电量-
     */
    private Float a1current;

    /**
     * A1放电频次-
     */
    private Integer a1req;

    /**
     * A1相位-
     */
    private Integer a1phase;

    /**
     * B相电流
     */
    private Float bcurrent;

    /**
     * B相放电频次
     */
    private Integer breq;

    /**
     * A相位-
     */
    private Integer aphase;

    /**
     * B相位-
     */
    private Integer bphase;

    /**
     * C相位-
     */
    private Integer cphase;

    /**
     * B1放电量-
     */
    private Float b1current;

    /**
     * B1放电频次-
     */
    private Integer b1req;

    /**
     * B1相位-
     */
    private Integer b1phase;

    /**
     * C相电流
     */
    private Float ccurrent;

    /**
     * C相放电频次-
     */
    private Integer creq;

    /**
     * C1放电次数-
     */
    private Float c1current;

    /**
     * C1放电频次-
     */
    private Integer c1req;

    /**
     * C1相位-
     */
    private Integer c1phase;

    /**
     * 日期
     */
    private Date datatime;

    /**
     * 通信状态。0表示正常，1表示异常。不论通信成功或者失败，都必须修改此值。
     */
    private Integer communicationstatus;

    /**
     * 报警等级。最新一条数据。
0=正常，1=预警(黄色)，2=报警(红色)
     */
    private Integer alarmlevel;

    /**
     * 报警消息
     */
    private String alarmmessage;

    /**
     * A相放电量状态
     */
    private Integer aalarmstatus;

    /**
     * B相放电量状态
     */
    private Integer balarmstatus;

    /**
     * C相放电量状态
     */
    private Integer calarmstatus;

    private Integer ralarmstatus;

    private Integer a1alarmstatus;

    private Integer b1alarmstatus;

    private Integer c1alarmstatus;

    private Integer r1alarmstatus;

    /**
     * A相放电量
     */
    private Float adischarge;

    private Float a1discharge;

    /**
     * B相放电量
     */
    private Float bdischarge;

    private Float b1discharge;

    /**
     * C相放电量
     */
    private Float cdischarge;

    private Float c1discharge;

    /**
     * A相放电频次报警状态
     */
    private Integer areqalarmstatus;

    /**
     * B相放电频次报警状态
     */
    private Integer breqalarmstatus;

    /**
     * C相放电频次报警状态
     */
    private Integer creqalarmstatus;

    private Integer a1reqalarmstatus;

    private Integer b1reqalarmstatus;

    private Integer c1reqalarmstatus;

    /**
     * A相相位报警状态
     */
    private Integer aphasealarmstatus;

    /**
     * B相相位报警状态
     */
    private Integer bphasealarmstatus;

    /**
     * C相相位报警状态
     */
    private Integer cphasealarmstatus;

    /**
     * A相放电量报警状态
     */
    private Integer adischargealarmstatus;

    private Integer a1dischargealarmstatus;

    /**
     * B相放电量报警状态
     */
    private Integer bdischargealarmstatus;

    private Integer b1dischargealarmstatus;

    /**
     * C相放电量报警状态
     */
    private Integer cdischargealarmstatus;

    private Integer c1dischargealarmstatus;

    /**
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取变电站编号
     *
     * @return stationid - 变电站编号
     */
    public Integer getStationid() {
        return stationid;
    }

    /**
     * 设置变电站编号
     *
     * @param stationid 变电站编号
     */
    public void setStationid(Integer stationid) {
        this.stationid = stationid;
    }

    /**
     * @return devicegroup
     */
    public Integer getDevicegroup() {
        return devicegroup;
    }

    /**
     * @param devicegroup
     */
    public void setDevicegroup(Integer devicegroup) {
        this.devicegroup = devicegroup;
    }

    /**
     * 获取设备地址
     *
     * @return deviceaddr - 设备地址
     */
    public Integer getDeviceaddr() {
        return deviceaddr;
    }

    /**
     * 设置设备地址
     *
     * @param deviceaddr 设备地址
     */
    public void setDeviceaddr(Integer deviceaddr) {
        this.deviceaddr = deviceaddr;
    }

    /**
     * 获取监测点地址
     *
     * @return pointaddr - 监测点地址
     */
    public Integer getPointaddr() {
        return pointaddr;
    }

    /**
     * 设置监测点地址
     *
     * @param pointaddr 监测点地址
     */
    public void setPointaddr(Integer pointaddr) {
        this.pointaddr = pointaddr;
    }

    /**
     * 获取监测点的名称
     *
     * @return pointname - 监测点的名称
     */
    public String getPointname() {
        return pointname;
    }

    /**
     * 设置监测点的名称
     *
     * @param pointname 监测点的名称
     */
    public void setPointname(String pointname) {
        this.pointname = pointname;
    }

    /**
     * 获取A相电流
     *
     * @return acurrent - A相电流
     */
    public Float getAcurrent() {
        return acurrent;
    }

    /**
     * 设置A相电流
     *
     * @param acurrent A相电流
     */
    public void setAcurrent(Float acurrent) {
        this.acurrent = acurrent;
    }

    /**
     * 获取A相放电频次-
     *
     * @return areq - A相放电频次-
     */
    public Integer getAreq() {
        return areq;
    }

    /**
     * 设置A相放电频次-
     *
     * @param areq A相放电频次-
     */
    public void setAreq(Integer areq) {
        this.areq = areq;
    }

    /**
     * 获取A1放电量-
     *
     * @return a1current - A1放电量-
     */
    public Float getA1current() {
        return a1current;
    }

    /**
     * 设置A1放电量-
     *
     * @param a1current A1放电量-
     */
    public void setA1current(Float a1current) {
        this.a1current = a1current;
    }

    /**
     * 获取A1放电频次-
     *
     * @return a1req - A1放电频次-
     */
    public Integer getA1req() {
        return a1req;
    }

    /**
     * 设置A1放电频次-
     *
     * @param a1req A1放电频次-
     */
    public void setA1req(Integer a1req) {
        this.a1req = a1req;
    }

    /**
     * 获取A1相位-
     *
     * @return a1phase - A1相位-
     */
    public Integer getA1phase() {
        return a1phase;
    }

    /**
     * 设置A1相位-
     *
     * @param a1phase A1相位-
     */
    public void setA1phase(Integer a1phase) {
        this.a1phase = a1phase;
    }

    /**
     * 获取B相电流
     *
     * @return bcurrent - B相电流
     */
    public Float getBcurrent() {
        return bcurrent;
    }

    /**
     * 设置B相电流
     *
     * @param bcurrent B相电流
     */
    public void setBcurrent(Float bcurrent) {
        this.bcurrent = bcurrent;
    }

    /**
     * 获取B相放电频次
     *
     * @return breq - B相放电频次
     */
    public Integer getBreq() {
        return breq;
    }

    /**
     * 设置B相放电频次
     *
     * @param breq B相放电频次
     */
    public void setBreq(Integer breq) {
        this.breq = breq;
    }

    /**
     * 获取A相位-
     *
     * @return aphase - A相位-
     */
    public Integer getAphase() {
        return aphase;
    }

    /**
     * 设置A相位-
     *
     * @param aphase A相位-
     */
    public void setAphase(Integer aphase) {
        this.aphase = aphase;
    }

    /**
     * 获取B相位-
     *
     * @return bphase - B相位-
     */
    public Integer getBphase() {
        return bphase;
    }

    /**
     * 设置B相位-
     *
     * @param bphase B相位-
     */
    public void setBphase(Integer bphase) {
        this.bphase = bphase;
    }

    /**
     * 获取C相位-
     *
     * @return cphase - C相位-
     */
    public Integer getCphase() {
        return cphase;
    }

    /**
     * 设置C相位-
     *
     * @param cphase C相位-
     */
    public void setCphase(Integer cphase) {
        this.cphase = cphase;
    }

    /**
     * 获取B1放电量-
     *
     * @return b1current - B1放电量-
     */
    public Float getB1current() {
        return b1current;
    }

    /**
     * 设置B1放电量-
     *
     * @param b1current B1放电量-
     */
    public void setB1current(Float b1current) {
        this.b1current = b1current;
    }

    /**
     * 获取B1放电频次-
     *
     * @return b1req - B1放电频次-
     */
    public Integer getB1req() {
        return b1req;
    }

    /**
     * 设置B1放电频次-
     *
     * @param b1req B1放电频次-
     */
    public void setB1req(Integer b1req) {
        this.b1req = b1req;
    }

    /**
     * 获取B1相位-
     *
     * @return b1phase - B1相位-
     */
    public Integer getB1phase() {
        return b1phase;
    }

    /**
     * 设置B1相位-
     *
     * @param b1phase B1相位-
     */
    public void setB1phase(Integer b1phase) {
        this.b1phase = b1phase;
    }

    /**
     * 获取C相电流
     *
     * @return ccurrent - C相电流
     */
    public Float getCcurrent() {
        return ccurrent;
    }

    /**
     * 设置C相电流
     *
     * @param ccurrent C相电流
     */
    public void setCcurrent(Float ccurrent) {
        this.ccurrent = ccurrent;
    }

    /**
     * 获取C相放电频次-
     *
     * @return creq - C相放电频次-
     */
    public Integer getCreq() {
        return creq;
    }

    /**
     * 设置C相放电频次-
     *
     * @param creq C相放电频次-
     */
    public void setCreq(Integer creq) {
        this.creq = creq;
    }

    /**
     * 获取C1放电次数-
     *
     * @return c1current - C1放电次数-
     */
    public Float getC1current() {
        return c1current;
    }

    /**
     * 设置C1放电次数-
     *
     * @param c1current C1放电次数-
     */
    public void setC1current(Float c1current) {
        this.c1current = c1current;
    }

    /**
     * 获取C1放电频次-
     *
     * @return c1req - C1放电频次-
     */
    public Integer getC1req() {
        return c1req;
    }

    /**
     * 设置C1放电频次-
     *
     * @param c1req C1放电频次-
     */
    public void setC1req(Integer c1req) {
        this.c1req = c1req;
    }

    /**
     * 获取C1相位-
     *
     * @return c1phase - C1相位-
     */
    public Integer getC1phase() {
        return c1phase;
    }

    /**
     * 设置C1相位-
     *
     * @param c1phase C1相位-
     */
    public void setC1phase(Integer c1phase) {
        this.c1phase = c1phase;
    }

    /**
     * 获取日期
     *
     * @return datatime - 日期
     */
    public Date getDatatime() {
        return datatime;
    }

    /**
     * 设置日期
     *
     * @param datatime 日期
     */
    public void setDatatime(Date datatime) {
        this.datatime = datatime;
    }

    /**
     * 获取通信状态。0表示正常，1表示异常。不论通信成功或者失败，都必须修改此值。
     *
     * @return communicationstatus - 通信状态。0表示正常，1表示异常。不论通信成功或者失败，都必须修改此值。
     */
    public Integer getCommunicationstatus() {
        return communicationstatus;
    }

    /**
     * 设置通信状态。0表示正常，1表示异常。不论通信成功或者失败，都必须修改此值。
     *
     * @param communicationstatus 通信状态。0表示正常，1表示异常。不论通信成功或者失败，都必须修改此值。
     */
    public void setCommunicationstatus(Integer communicationstatus) {
        this.communicationstatus = communicationstatus;
    }

    /**
     * 获取报警等级。最新一条数据。
0=正常，1=预警(黄色)，2=报警(红色)
     *
     * @return alarmlevel - 报警等级。最新一条数据。
0=正常，1=预警(黄色)，2=报警(红色)
     */
    public Integer getAlarmlevel() {
        return alarmlevel;
    }

    /**
     * 设置报警等级。最新一条数据。
0=正常，1=预警(黄色)，2=报警(红色)
     *
     * @param alarmlevel 报警等级。最新一条数据。
0=正常，1=预警(黄色)，2=报警(红色)
     */
    public void setAlarmlevel(Integer alarmlevel) {
        this.alarmlevel = alarmlevel;
    }

    /**
     * 获取报警消息
     *
     * @return alarmmessage - 报警消息
     */
    public String getAlarmmessage() {
        return alarmmessage;
    }

    /**
     * 设置报警消息
     *
     * @param alarmmessage 报警消息
     */
    public void setAlarmmessage(String alarmmessage) {
        this.alarmmessage = alarmmessage;
    }

    /**
     * 获取A相放电量状态
     *
     * @return aalarmstatus - A相放电量状态
     */
    public Integer getAalarmstatus() {
        return aalarmstatus;
    }

    /**
     * 设置A相放电量状态
     *
     * @param aalarmstatus A相放电量状态
     */
    public void setAalarmstatus(Integer aalarmstatus) {
        this.aalarmstatus = aalarmstatus;
    }

    /**
     * 获取B相放电量状态
     *
     * @return balarmstatus - B相放电量状态
     */
    public Integer getBalarmstatus() {
        return balarmstatus;
    }

    /**
     * 设置B相放电量状态
     *
     * @param balarmstatus B相放电量状态
     */
    public void setBalarmstatus(Integer balarmstatus) {
        this.balarmstatus = balarmstatus;
    }

    /**
     * 获取C相放电量状态
     *
     * @return calarmstatus - C相放电量状态
     */
    public Integer getCalarmstatus() {
        return calarmstatus;
    }

    /**
     * 设置C相放电量状态
     *
     * @param calarmstatus C相放电量状态
     */
    public void setCalarmstatus(Integer calarmstatus) {
        this.calarmstatus = calarmstatus;
    }

    /**
     * @return ralarmstatus
     */
    public Integer getRalarmstatus() {
        return ralarmstatus;
    }

    /**
     * @param ralarmstatus
     */
    public void setRalarmstatus(Integer ralarmstatus) {
        this.ralarmstatus = ralarmstatus;
    }

    /**
     * @return a1alarmstatus
     */
    public Integer getA1alarmstatus() {
        return a1alarmstatus;
    }

    /**
     * @param a1alarmstatus
     */
    public void setA1alarmstatus(Integer a1alarmstatus) {
        this.a1alarmstatus = a1alarmstatus;
    }

    /**
     * @return b1alarmstatus
     */
    public Integer getB1alarmstatus() {
        return b1alarmstatus;
    }

    /**
     * @param b1alarmstatus
     */
    public void setB1alarmstatus(Integer b1alarmstatus) {
        this.b1alarmstatus = b1alarmstatus;
    }

    /**
     * @return c1alarmstatus
     */
    public Integer getC1alarmstatus() {
        return c1alarmstatus;
    }

    /**
     * @param c1alarmstatus
     */
    public void setC1alarmstatus(Integer c1alarmstatus) {
        this.c1alarmstatus = c1alarmstatus;
    }

    /**
     * @return r1alarmstatus
     */
    public Integer getR1alarmstatus() {
        return r1alarmstatus;
    }

    /**
     * @param r1alarmstatus
     */
    public void setR1alarmstatus(Integer r1alarmstatus) {
        this.r1alarmstatus = r1alarmstatus;
    }

    /**
     * 获取A相放电量
     *
     * @return adischarge - A相放电量
     */
    public Float getAdischarge() {
        return adischarge;
    }

    /**
     * 设置A相放电量
     *
     * @param adischarge A相放电量
     */
    public void setAdischarge(Float adischarge) {
        this.adischarge = adischarge;
    }

    /**
     * @return a1discharge
     */
    public Float getA1discharge() {
        return a1discharge;
    }

    /**
     * @param a1discharge
     */
    public void setA1discharge(Float a1discharge) {
        this.a1discharge = a1discharge;
    }

    /**
     * 获取B相放电量
     *
     * @return bdischarge - B相放电量
     */
    public Float getBdischarge() {
        return bdischarge;
    }

    /**
     * 设置B相放电量
     *
     * @param bdischarge B相放电量
     */
    public void setBdischarge(Float bdischarge) {
        this.bdischarge = bdischarge;
    }

    /**
     * @return b1discharge
     */
    public Float getB1discharge() {
        return b1discharge;
    }

    /**
     * @param b1discharge
     */
    public void setB1discharge(Float b1discharge) {
        this.b1discharge = b1discharge;
    }

    /**
     * 获取C相放电量
     *
     * @return cdischarge - C相放电量
     */
    public Float getCdischarge() {
        return cdischarge;
    }

    /**
     * 设置C相放电量
     *
     * @param cdischarge C相放电量
     */
    public void setCdischarge(Float cdischarge) {
        this.cdischarge = cdischarge;
    }

    /**
     * @return c1discharge
     */
    public Float getC1discharge() {
        return c1discharge;
    }

    /**
     * @param c1discharge
     */
    public void setC1discharge(Float c1discharge) {
        this.c1discharge = c1discharge;
    }

    /**
     * 获取A相放电频次报警状态
     *
     * @return areqalarmstatus - A相放电频次报警状态
     */
    public Integer getAreqalarmstatus() {
        return areqalarmstatus;
    }

    /**
     * 设置A相放电频次报警状态
     *
     * @param areqalarmstatus A相放电频次报警状态
     */
    public void setAreqalarmstatus(Integer areqalarmstatus) {
        this.areqalarmstatus = areqalarmstatus;
    }

    /**
     * 获取B相放电频次报警状态
     *
     * @return breqalarmstatus - B相放电频次报警状态
     */
    public Integer getBreqalarmstatus() {
        return breqalarmstatus;
    }

    /**
     * 设置B相放电频次报警状态
     *
     * @param breqalarmstatus B相放电频次报警状态
     */
    public void setBreqalarmstatus(Integer breqalarmstatus) {
        this.breqalarmstatus = breqalarmstatus;
    }

    /**
     * 获取C相放电频次报警状态
     *
     * @return creqalarmstatus - C相放电频次报警状态
     */
    public Integer getCreqalarmstatus() {
        return creqalarmstatus;
    }

    /**
     * 设置C相放电频次报警状态
     *
     * @param creqalarmstatus C相放电频次报警状态
     */
    public void setCreqalarmstatus(Integer creqalarmstatus) {
        this.creqalarmstatus = creqalarmstatus;
    }

    /**
     * @return a1reqalarmstatus
     */
    public Integer getA1reqalarmstatus() {
        return a1reqalarmstatus;
    }

    /**
     * @param a1reqalarmstatus
     */
    public void setA1reqalarmstatus(Integer a1reqalarmstatus) {
        this.a1reqalarmstatus = a1reqalarmstatus;
    }

    /**
     * @return b1reqalarmstatus
     */
    public Integer getB1reqalarmstatus() {
        return b1reqalarmstatus;
    }

    /**
     * @param b1reqalarmstatus
     */
    public void setB1reqalarmstatus(Integer b1reqalarmstatus) {
        this.b1reqalarmstatus = b1reqalarmstatus;
    }

    /**
     * @return c1reqalarmstatus
     */
    public Integer getC1reqalarmstatus() {
        return c1reqalarmstatus;
    }

    /**
     * @param c1reqalarmstatus
     */
    public void setC1reqalarmstatus(Integer c1reqalarmstatus) {
        this.c1reqalarmstatus = c1reqalarmstatus;
    }

    /**
     * 获取A相相位报警状态
     *
     * @return aphasealarmstatus - A相相位报警状态
     */
    public Integer getAphasealarmstatus() {
        return aphasealarmstatus;
    }

    /**
     * 设置A相相位报警状态
     *
     * @param aphasealarmstatus A相相位报警状态
     */
    public void setAphasealarmstatus(Integer aphasealarmstatus) {
        this.aphasealarmstatus = aphasealarmstatus;
    }

    /**
     * 获取B相相位报警状态
     *
     * @return bphasealarmstatus - B相相位报警状态
     */
    public Integer getBphasealarmstatus() {
        return bphasealarmstatus;
    }

    /**
     * 设置B相相位报警状态
     *
     * @param bphasealarmstatus B相相位报警状态
     */
    public void setBphasealarmstatus(Integer bphasealarmstatus) {
        this.bphasealarmstatus = bphasealarmstatus;
    }

    /**
     * 获取C相相位报警状态
     *
     * @return cphasealarmstatus - C相相位报警状态
     */
    public Integer getCphasealarmstatus() {
        return cphasealarmstatus;
    }

    /**
     * 设置C相相位报警状态
     *
     * @param cphasealarmstatus C相相位报警状态
     */
    public void setCphasealarmstatus(Integer cphasealarmstatus) {
        this.cphasealarmstatus = cphasealarmstatus;
    }

    /**
     * 获取A相放电量报警状态
     *
     * @return adischargealarmstatus - A相放电量报警状态
     */
    public Integer getAdischargealarmstatus() {
        return adischargealarmstatus;
    }

    /**
     * 设置A相放电量报警状态
     *
     * @param adischargealarmstatus A相放电量报警状态
     */
    public void setAdischargealarmstatus(Integer adischargealarmstatus) {
        this.adischargealarmstatus = adischargealarmstatus;
    }

    /**
     * @return a1dischargealarmstatus
     */
    public Integer getA1dischargealarmstatus() {
        return a1dischargealarmstatus;
    }

    /**
     * @param a1dischargealarmstatus
     */
    public void setA1dischargealarmstatus(Integer a1dischargealarmstatus) {
        this.a1dischargealarmstatus = a1dischargealarmstatus;
    }

    /**
     * 获取B相放电量报警状态
     *
     * @return bdischargealarmstatus - B相放电量报警状态
     */
    public Integer getBdischargealarmstatus() {
        return bdischargealarmstatus;
    }

    /**
     * 设置B相放电量报警状态
     *
     * @param bdischargealarmstatus B相放电量报警状态
     */
    public void setBdischargealarmstatus(Integer bdischargealarmstatus) {
        this.bdischargealarmstatus = bdischargealarmstatus;
    }

    /**
     * @return b1dischargealarmstatus
     */
    public Integer getB1dischargealarmstatus() {
        return b1dischargealarmstatus;
    }

    /**
     * @param b1dischargealarmstatus
     */
    public void setB1dischargealarmstatus(Integer b1dischargealarmstatus) {
        this.b1dischargealarmstatus = b1dischargealarmstatus;
    }

    /**
     * 获取C相放电量报警状态
     *
     * @return cdischargealarmstatus - C相放电量报警状态
     */
    public Integer getCdischargealarmstatus() {
        return cdischargealarmstatus;
    }

    /**
     * 设置C相放电量报警状态
     *
     * @param cdischargealarmstatus C相放电量报警状态
     */
    public void setCdischargealarmstatus(Integer cdischargealarmstatus) {
        this.cdischargealarmstatus = cdischargealarmstatus;
    }

    /**
     * @return c1dischargealarmstatus
     */
    public Integer getC1dischargealarmstatus() {
        return c1dischargealarmstatus;
    }

    /**
     * @param c1dischargealarmstatus
     */
    public void setC1dischargealarmstatus(Integer c1dischargealarmstatus) {
        this.c1dischargealarmstatus = c1dischargealarmstatus;
    }
}